package com.mew.game.config;

import com.alibaba.nacos.api.config.ConfigType;
import com.alibaba.nacos.api.config.annotation.NacosConfigurationProperties;
import com.alibaba.nacos.api.config.annotation.NacosProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

@NacosConfigurationProperties(dataId = "mew-strategy-config.yaml", type = ConfigType.YAML, autoRefreshed = true)
@Data
@ToString
@NoArgsConstructor
public class StrategyConfig {

    @NacosProperty(value = "ceiling.last-diff-times")
    private String ceilLastDiffTimes; //0_30|10;30_50|30;50_-1|500

    @NacosProperty(value = "ceiling.multiple")
    private String ceilMultiple;  //3-5

    @NacosProperty(value = "ceiling.fixed")
    private int ceilFixed; //150

    @NacosProperty(value = "ceiling.card-range")
    private String ceilCardRange; //50-200

    @NacosProperty(value = "strategy.cheat")
    private int strategyCheat; //10000

    @NacosProperty(value = "strategy.lose-a")
    private double strategyLoseA; //0.53

    @NacosProperty(value = "strategy.lose-b")
    private double strategyLoseB; //0.00001515

    @NacosProperty(value = "strategy.play-times")
    private String strategyPlayTimes; //400-600-800



}
